<template>
  <div>
    我是父组件
    isShouw:{{ isShouw }}
    <button @click="isShouw=!isShouw">切换</button>
    {{ txt }}
    <model v-model="isShouw" v-model:txt="txt"></model>
  </div>
</template>

<script setup>
import model from './components/model.vue'
import { ref } from 'vue'
const isShouw=ref(true)
const txt=ref('默认内容')
</script>
